# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=flare
pkgver=0.6
pkgrel=4
pkgdesc='Flare processes an SWF and extracts all scripts from it.'
url='http://www.nowrap.de/flare.html'
groups=('blackarch' 'blackarch-misc')
license=('custom:unknown')
arch=('x86_64' 'aarch64')
depends=('lib32-zlib')
source=("http://www.nowrap.de/download/flare${pkgver//./}linux.tgz")
sha512sums=('87fd32bc68019567a65719c39afa58da7002e02cb8bc73f315af7744d9890d4fca9b68ec650e11a3c5a6dac68beb3154ebb033c1e73b639d80443bfb7cf3d7ba')

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" classic.css flare.html \
    logo.gif
  install -Dm 644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

